using Vin.Extension.Framework.Dto;
using Vin.Extension.Framework.Monitor.Dto.Entities;

namespace Vin.Extension.Framework.Monitor.ServiceInterface;

public interface ISysOnlineService
{
    Task<List<SysOnlineDto>> ListAsync(VinFrameworkBaseListDto dto);
    
    Task<bool> HeartbeatAsync();
    
    Task<bool> ForceLogoutAsync(string sessionId, string? prefix = null);
    
    Task<bool> LogoutAsync();
}